FROM python:3.6.8-slim

WORKDIR /app

ADD . /app

RUN pip install Flask -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install pymysql -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip install pyjwt -i https://pypi.tuna.tsinghua.edu.cn/simple

EXPOSE 3354
CMD ["python", "address.py"]